home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 24 / Mac Magazin and MacEasy Magazine CD - Issue 24.iso / Online / clip2gif 0.7.2 / Calling clip2gif from C / Documentation next >
Text File  |  1995-12-18  |  2KB  |  43 lines

  1. clip2gif 
  2. Using clip2gif from C language code
  3.  
  4.  
  5. Most important functions of clip2gif can be called from an external program directly from C code, thanks to the Fragment Manager. Currently, only PowerPC code is supported. To take advantage of this,
  6.  
  7. 1) Add LoadClip2Gif.c to your project
  8.  
  9. 2) Include LoadClip2Gif.h where appropriate
  10.  
  11. 3) At the beginning of your program (typically after the toolbox initialization, but before any call to clip2gif), initialize the link to clip2gif with
  12.  
  13. err = LoadClip2Gif();
  14. if (err != noErr)
  15. {
  16.   // oops!
  17. }
  18.  
  19. 4) Call any of the functions defined in LoadClip2Gif.h
  20.  
  21. 5) Put clip2gif onto the same volume (or the same folder if you have kept older versions) as your program
  22.  
  23. 6) Enjoy
  24.  
  25. Legal Stuff
  26.  
  27. clip2gif Fragment Manager support files are
  28. Copyright 1995, Yves Piguet. All rights reserved.
  29.  
  30. Support for the use of clip2gif via the Fragment Manager is provided as is, without any warranty. This is actually the case for the whole clip2gif distribution, but is especially true here.
  31.  
  32. LoadClip2Gif.c and LoadClip2Gif.h can be used in any program and distributed without restrictions in compiled form. In source form, they may be distributed only with the whole distribution of clip2gif, under the terms described in the clip2gif license. clip2gif itself may not be included in any other package.
  33.  
  34. Author
  35.  
  36. Yves Piguet
  37. Chablière 35
  38. 1004 Lausanne
  39. Switzerland
  40. e-mail: piguet@ia.epfl.ch
  41.  
  42. No promise of support, but comments (especially about successful use!) and URLs welcome.
  43.